<!doctype html>
<html class="no-js" style="height: 100%">
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <title>MonSharK Admin</title>
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <meta name="renderer" content="webkit">
        <meta http-equiv="Cache-Control" content="no-siteapp" />
        <link rel="icon" type="image/png" href="http://7xlb7i.com2.z0.glb.qiniucdn.com/favicon.ico">
        <link rel="stylesheet" href="{{.staticUrl}}/amazeui/css/amazeui.min.css"/>
        <link rel="stylesheet" href="{{.staticUrl}}/amazeui/css/admin.css">
     	<!--<link rel="stylesheet" href="{{.staticUrl}}/amazeui/css/rjweb-steps.css">-->
        <link rel="stylesheet" href="{{.staticUrl}}/amazeui/css/amazeui.datatables.min.css">
        <link rel="stylesheet" href="{{.staticUrl}}/amazeui/css/plattech.css">
        <!--[if (gte IE 9)|!(IE)]><!-->
        <script src="{{.staticUrl}}/amazeui/js/jquery.min.js"></script>
        <!--<![endif]-->

        <!--[if lt IE 9]>
        <script src="http://libs.baidu.com/jquery/1.11.1/jquery.min.js"></script>
        <script src="http://cdn.staticfile.org/modernizr/2.8.3/modernizr.js"></script>
        <script src="assets/js/amazeui.ie8polyfill.min.js"></script>
        <![endif]-->

        <script src="{{.staticUrl}}/amazeui/js/amazeui.min.js"></script>
        <script src="{{.staticUrl}}/amazeui/js/app.js"></script>

        <script src="{{.staticUrl}}/amazeui/js/amazeui.datatables.min.js"></script>
        <script src="{{.staticUrl}}/amazeui/js/jquery.floatThead.min.js"></script>
    </head>

    <body>
        <!--[if lte IE 9]>
        <p class="browsehappy">你正在使用<strong>过时</strong>的浏览器，Amaze UI 暂不支持。 请 <a href="http://browsehappy.com/" target="_blank">升级浏览器</a>
          以获得更好的体验！</p>
        <![endif]-->
        <header class="am-topbar admin-header">
            <div class="am-topbar-brand">
                <a href="{{.siteUrl}}">
                    <div class="am-hide-sm-only am-fl"></div>
                    MonShark Admin
                </a>
            </div>

			{{if .userName}}
            <div class="am-collapse am-topbar-collapse" id="topbar-collapse">
                <ul class="am-nav am-nav-pills am-topbar-nav am-topbar-right admin-header-list">
                    <li class="am-dropdown" data-am-dropdown>
                        <a class="am-dropdown-toggle" data-am-dropdown-toggle href="javascript:;">
                            <span class="am-icon-users"></span> {{.userName}}  <span class="am-icon-caret-down"></span>
                        </a>
                        <ul class="am-dropdown-content">
                            <li><a href='{{urlfor "LoginController.Seting"}}'><span class="am-icon-user"></span> 用户设置</a></li>
                           
                            <li><a href="{{.siteUrl}}/user/logout"><span class="am-icon-power-off"></span> 账号注销</a></li>
                        </ul>
                    </li>
                    <!--<li class="am-hide-sm-only"><a href="javascript:;" id="admin-fullscreen"><span class="am-icon-arrows-alt"></span> <span class="admin-fullText">开启全屏</span></a></li>-->
                </ul>
            </div>
			{{end}}
        </header>